BackgroundRemovalMask

data class BackgroundRemovalMask(val buffer: ByteBuffer, val width: Int, val height: Int)

Segmentation mask returned by a background removal backend.

Constructors

Link copied to clipboard
constructor(buffer: ByteBuffer, width: Int, height: Int)

Properties

Link copied to clipboard

raw mask values in row-major order.

Link copied to clipboard
val height: Int

height of the mask in pixels.

Link copied to clipboard
val width: Int

width of the mask in pixels.